package com.hx.springboot1.service;

import com.github.pagehelper.PageInfo;
import com.hx.springboot1.pojo.entity.TabUser;
import com.hx.springboot1.pojo.vo.IndexVO;
import com.hx.springboot1.utils.ResultMsg;

public interface UserService {

    TabUser login(String username);
    IndexVO userInfo(String username);
    PageInfo selectAllUser(String searchName, Integer pageNum, Integer pageSize);
    void updateUserState(String state,String id);
    ResultMsg resetPwd(Integer userId);
    ResultMsg updatePWD(Integer userId,String newPWD);
}

